CSRF_ENABLED = True
SECRET_KEY = 'you-will-never-guess'
# # mysql+muysqldb://root:pqhR.1g?k/5P@127.0.0.1:3306/db_demo1?charset=utf8
DIALECT = 'mysql'
DRIVER = 'mysqldb'
USERNAME = 'root'
PASSWORD = 'root'
HOST = '192.168.27.194'
# HOST = '192.168.27.191'
PORT = '3306'
DATABASE = 'zt_flask'
# DIALECT = 'mysql'
# DRIVER = 'mysqldb'
# USERNAME = 'root'
# PASSWORD = 'root'
# HOST = '192.168.31.194'
# PORT = '3306'
# DATABASE = 'flask_test'
SQLALCHEMY_DATABASE_URI = "{}+{}://{}:{}@{}:{}/{}?charset=utf8".format(DIALECT, DRIVER, USERNAME, PASSWORD, HOST, PORT, DATABASE)
SQLALCHEMY_TRACK_MODIFICATIONS = False
UPLOAD_FOLDER = '/path/to/the/uploads'
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
# CELERY_BROKER_URL = 'redis://localhost:6379/0'
# CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
